home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / Class&Method Reference (stack) / MacApp 2.0 Reference / MacApp 2.0 Reference / card_357810.txt < prev    next >
Encoding:
Text File  |  1990-07-24  |  1.1 KB  |  33 lines

  1. -- card: 357810 from stack: in.0 Reference
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 177597
  5. -- name: SetSelect
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10. SetSelect sets the current text selection for the given Text Edit handle without highlighting it.
  11. The parameter theStart is the position in the text buffer of  the first character in the new selection; the parameter theEnd is the position of the last character in the new selection. The hTE parameter is a handle to the TextEdit record that contains the text.
  12. MacApp calls SetSelect from a variety of routines that manipulate and change text in TextEdit records. You can use this routine whenever you need to change the current text selection without highlighting it.
  13.  
  14. -- part contents for background part 5
  15. ----- text -----
  16. Unit: UTEView
  17.  
  18.  
  19. -- part contents for background part 23
  20. ----- text -----
  21. ROUTINE
  22.  
  23. -- part contents for background part 2
  24. ----- text -----
  25. SetSelect
  26.  
  27. -- part contents for background part 20
  28. ----- text -----
  29. PROCEDURE SetSelect(theStart, theEnd: INTEGER; hTE: TEHandle);
  30.  
  31. -- part contents for background part 40
  32. ----- text -----
  33. 405 of 498 Routines